<?php  
use \app\common\services\UrlService;
$tab_list=[
	"index"=>[
		'title'=>"订单列表",
		'url'=>UrlService::buildWebUrl('/finance/index'),
	],
	"account"=>[
		'title'=>"财务流水",
		'url'=>UrlService::buildWebUrl('/finance/account'),
	],
];
?>
<div class="row  border-bottom">
	<div class="col-lg-12">
		<div class="tab_title">
			<ul class="nav nav-pills">
				<?php foreach($tab_list as $_current=>$list):?>
				<li  
				<?php if($_current==$current){
					echo "class='current'";
				}
				?>  
				>
					<a href="<?=$list['url']?>"><?=$list['title']?></a>
				</li>
			<?php endforeach;?>	
			</ul>
		</div>
	</div>
</div>